package com.sxzjrj.config

import java.util.Properties

import com.sxzjrj.constant.Constant
import com.typesafe.config.ConfigFactory


/**
  * Created by ljj in 2019/3/20
  *
  */
object CmccConfig {

  private lazy val config = ConfigFactory.load()

  val srcPath: String = config.getString(Constant.SRCPATH.toString)

  val descParh = config.getString(Constant.DESCPATH.toString)

  val driver = config.getString("db.default.driver")
  val url = config.getString("db.default.url")
  val root = config.getString("db.default.user")
  val password = config.getString("db.default.password")

  val properties = new Properties()
  properties.setProperty("driver",driver)
  properties.setProperty("user",root)
  properties.getProperty("password",password)


}
